  -- Supremus --
function spell0_22898(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(41581,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22898', 3442, 1)
end
function spell1_22898(pUnit, Event) --@Summon Player,n/a--
pUnit:FullCastSpellOnTarget(20477,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22898', 831, 1)
end
function spell2_22898(pUnit, Event) --@Volcanic Eruption,n/a--
pUnit:FullCastSpellOnTarget(40276,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22898', 30000, 1)
end
function Sorts_22898(pUnit, Event)
choix_sorts_22898 = math.random(0, 2)
if choix_sorts_22898 == 0 then
pUnit:RegisterEvent('spell0_22898', 1, 1)
end
if choix_sorts_22898 == 1 then
pUnit:RegisterEvent('spell1_22898', 1, 1)
end
if choix_sorts_22898 == 2 then
pUnit:RegisterEvent('spell2_22898', 1, 1)
end
end
function mob22898_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22898', math.random(1500, 3000), 1)
end
function mob22898_Leave(pUnit, Event)
end
function mob22898_Kill(pUnit, Event)
end
function mob22898_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(22898, 1, 'mob22898_Action')
RegisterUnitEvent(22898, 2, 'mob22898_Leave')
RegisterUnitEvent(22898, 3, 'mob22898_Kill')
RegisterUnitEvent(22898, 4, 'mob22898_Die')
